package com.o2opay.car.controller;

import com.o2opay.car.common.annotation.Authority;
import com.o2opay.car.common.support.DataCache;
import com.o2opay.car.service.EqpInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;


/**
 * Created by tugou on 2018/1/15.
 */
@Controller @RequestMapping("/bus/eqp")
public class EqpInfoController  extends BaseController {

    @Autowired
    private DataCache dataCache;
    @Autowired
    private EqpInfoService eqpInfoService;

    @Authority(opCode = "0501", opName = "终端管理")
    @RequestMapping("mainPage")
    public String mainPage(Map<String, Object> map) {
        return "auth/eqp/main";
    }
}
